home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / stunnel-4.04 / _src / tools / stunnel.conf-sample.in < prev    next >
Encoding:
Text File  |  2003-01-01  |  929 b   |  58 lines

  1. # Sample stunnel configuration file
  2. # Copyright by Michal Trojnara 2002
  3.  
  4. # Comment it out on Win32
  5. cert = @prefix@/etc/stunnel/mail.pem
  6. chroot = @prefix@/var/run/stunnel/
  7. # PID is created inside chroot jail
  8. pid = /stunnel.pid
  9. setuid = nobody
  10. setgid = nogroup
  11.  
  12. # Workaround for Eudora bug
  13. #options = DONT_INSERT_EMPTY_FRAGMENTS
  14.  
  15. # Authentication stuff
  16. #verify = 2
  17. # don't forget about c_rehash CApath
  18. # it is located inside chroot jail:
  19. #CApath = /certs
  20. # or simply use CAfile instead:
  21. #CAfile = @prefix@/etc/stunnel/certs.pem
  22.  
  23. # Some debugging stuff
  24. #debug = 7
  25. #output = stunnel.log
  26.  
  27. # Use it for client mode
  28. #client = yes
  29.  
  30. # Service-level configuration
  31.  
  32. [pop3s]
  33. accept  = 995
  34. connect = 110
  35.  
  36. [imaps]
  37. accept  = 993
  38. connect = 143
  39.  
  40. [ssmtp]
  41. accept  = 465
  42. connect = 25
  43.  
  44. [s1]
  45. accept  = 5000
  46. connect = mail.osw.pl:110
  47. # delay = yes
  48.  
  49. [s2]
  50. accept  = 5001
  51. connect = mail.osw.pl:25
  52.  
  53. #[https]
  54. #accept  = 443
  55. #connect = 80
  56. #TIMEOUTclose = 0
  57.  
  58.